using System;

namespace SMS.SportAutoService.Model
{
    [Serializable]
    public class MOReceiver
    {
        long id;
        int commandServiceId;
        string leagueHomeAwayCode;
        string mainExpandCode;
        string messageContents;
        DateTime receiverDate;
        
        public MOReceiver()
        {
        }

        public MOReceiver(long id, int commandServiceId, string leagueHomeAwayCode, string mainExpandCode, string messageContents, DateTime receiverDate)
        {
            this.id = id;
            this.commandServiceId = commandServiceId;
            this.leagueHomeAwayCode = leagueHomeAwayCode;
            this.mainExpandCode = mainExpandCode;
            this.messageContents = messageContents;
            this.receiverDate = receiverDate;
        }


        public long Id
        {
            get { return id; }
            set { id = value; }
        }

        public int CommandServiceId
        {
            get { return commandServiceId; }
            set { commandServiceId = value; }
        }


        public string LeagueHomeAwayCode
        {
            get { return leagueHomeAwayCode; }
            set { leagueHomeAwayCode = value; }
        }

        public string MainExpandCode
        {
            get { return mainExpandCode; }
            set { mainExpandCode = value; }
        }

        public string MessageContents
        {
            get { return messageContents; }
            set { messageContents = value; }
        }

        public DateTime ReceiverDate
        {
            get { return receiverDate; }
            set { receiverDate = value; }
        }
    }
}